<div class="layuimini-main" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
</style>
    <div class="layui-form layuimini-form">
        <input type="hidden" id="id" name="id" th:value="${id}">
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2">图标</label>
            <div class="layui-col-sm10">
                <input type="text" id="iconPicker" placeholder="图标" readonly class="layui-input">
                <input type="hidden" id="iconPickerName" name="icon">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">上级菜单</label>
            <div class="layui-col-sm10">
                <input type="text" id="parentName" lay-verify="required" lay-reqtext="请选择上级菜单" readonly class="layui-input">
                <input type="hidden" id="parentId" name="parentId">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">名称</label>
            <div class="layui-col-sm10">
                <input type="text" name="name" id="name" lay-verify="required" lay-reqtext="名称不能为空" placeholder="请输入名称" value="" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2">类型</label>
            <div class="layui-col-sm10">
                <input type="radio" name="type" value="0" title="后台菜单" checked="checked">
                <input type="radio" name="type" value="1" title="前台菜单">
                <input type="radio" name="type" value="2" title="情侣空间">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">链接</label>
            <div class="layui-col-sm10">
                <input type="text" name="href" id="href" lay-verify="required" lay-reqtext="链接不能为空" placeholder="请输入链接" value="" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">排序</label>
            <div class="layui-col-sm10">
                <input type="number" name="sort" id="sort" lay-verify="required" lay-reqtext="排序不能为空" placeholder="请输入排序号" value="" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2">是否显示</label>
            <div class="layui-col-sm10">
                <input type="radio" name="isShow" value="0" title="是" checked="checked">
                <input type="radio" name="isShow" value="1" title="否">
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<!-- 导入js -->
<script type="text/javascript" src="/system/sysMenu/sysMenu_add.js"></script>